//公用的弹窗
import {
    ElMessage
} from "element-plus"

const tips = class {
    constructor(msg, type = "success") {
            this.msg = msg
            this.type = type
        }
        //elmesa提示
    mess_age() {
        ElMessage({
            message: this.msg,
            type: this.type,
            duration: 1500

        })
    }


}

export default tips